remove consecutive value from the row of particular column in python